//
//  ShellWithdrawViewController.m
//  ShellWallert
//
//  Created by lvzhao on 2019/10/1.
//  Copyright © 2019 VV. All rights reserved.
//

#import "ShellWithdrawViewController.h"
#import "ShellWithdrawViewModel.h"
#import "ShellWithdrawView.h"

@interface ShellWithdrawViewController ()

@property (nonatomic,strong) ShellWithdrawView *coinView;

@property (nonatomic,strong) ShellWithdrawViewModel *viewModel;

@end

@implementation ShellWithdrawViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = LZLocalizedString(@"提币");

    [self setupUI];
}

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];

}

#pragma mark - setupUI
- (void)setupUI{
    [self.view addSubview:self.coinView];
    [self.coinView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(0);
    }];
}

#pragma mark - actions

#pragma mark - custool

#pragma mark - get && set
- (ShellWithdrawView *)coinView{
    if(!_coinView){
        _coinView = [[ShellWithdrawView alloc] initViewModel:self.viewModel];
    }
    return _coinView;
}

- (ShellWithdrawViewModel *)viewModel{
    if(!_viewModel){
        _viewModel = [[ShellWithdrawViewModel alloc] init];
        _viewModel.wallertModel = self.wallertModel;
    }
    return _viewModel;
}/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
